//
// Decompiled by Jadx - 408ms
//
package fi;

import fi.c;
import java.util.ArrayList;

public final class b {
    public final c a;

    public b() {
        this("", false);
    }

    public b(String str, boolean z) {
        c cVar = new c();
        this.a = cVar;
        cVar.setList(new ArrayList());
        cVar.setTitle(str);
        cVar.setGroup(z);
        cVar.setGravity(8388611);
    }

    public final void b(String str) {
        e(str, null, null, null, false, false);
    }

    public final void c(String str, String str2) {
        e(str, null, str2, null, false, false);
    }

    public final void d(String str, String str2, String str3) {
        e(str, str2, str3, null, false, false);
    }

    public final void e(String str, String str2, String str3, String str4, boolean z, boolean z2) {
        c.a aVar = new c.a();
        aVar.setTitle(str);
        aVar.setDesc(str2);
        aVar.setKey(str3);
        aVar.setRightText(str4);
        aVar.setArrow(z);
        aVar.setHideArrow(z2);
        this.a.getList().add(aVar);
    }

    public final void f(String str, String str2, String str3, boolean z) {
        e(str, str2, str3, null, false, z);
    }

    public final void g(String str, String str2, boolean z) {
        e(str, str2, "", null, false, z);
    }

    public final void h(String str, String str2, String str3, boolean z) {
        c.a aVar = new c.a();
        aVar.setTitle(str);
        aVar.setDesc(str2);
        aVar.setKey(str3);
        aVar.setSelected(z);
        aVar.setSwitch(true);
        this.a.getList().add(aVar);
    }
}
